package com.hangyutech.strelitzia.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章总表(Articles)实体类
 *
 * @author makejava
 * @since 2020-12-16 16:19:04
 */
public class Articles implements Serializable {
    private static final long serialVersionUID = -52693028817027956L;

    private Integer id;
    /**
     * 文章类型 1图文 2视频 3音频
     */
    private Integer type;
    /**
     * 文章所属栏目
     */
    private Integer cid;
    /**
     * 标题
     */
    private String title;
    /**
     * 短标题
     */
    private String shortTitle;
    /**
     * 摘要
     */
    private String description;
    /**
     * 标签清单
     */
    private String tags;
    /**
     * 封面图
     */
    private String cover;
    /**
     * 缩略图
     */
    private String thumbnail;
    /**
     * 作者ID
     */
    private Integer authorId;
    /**
     * 文章来源
     */
    private String source;
    /**
     * 视频外链（为空即非视频文章）
     */
    private String videoUrl;
    /**
     * 音频外链（为空即非音频文章）
     */
    private String voiceUrl;
    /**
     * 文章权重
     */
    private Integer weight;
    /**
     * 文章状态 0待审核 1审核拒绝 2审核通过
     */
    private Integer status;
    /**
     * （用户）文章展示 0正常 1隐藏
     */
    private Integer visible;
    /**
     * 文章浏览量
     */
    private Integer viewCount;
    /**
     * 文章点赞量
     */
    private Integer likeCount;
    /**
     * 文章评论数
     */
    private Integer commentCount;

    private Date createdAt;

    private Date updatedAt;
    /**
     * 删除时间
     */
//    @TableLogic
    private Date deletedAt;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getShortTitle() {
        return shortTitle;
    }

    public void setShortTitle(String shortTitle) {
        this.shortTitle = shortTitle;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVoiceUrl() {
        return voiceUrl;
    }

    public void setVoiceUrl(String voiceUrl) {
        this.voiceUrl = voiceUrl;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }

}